<template>
  <div class="left-container">
    <h3>Left 组件</h3>
    <!-- 渲染 Article 组件 -->
  <Article>
    <h3>咏鹅</h3>
    <template  #author="{age,gender}">
    <h3 slot="author">
      骆宾王---{{age}}--{{gender}}
    </h3>
    </template>
   
  </Article>
  </div>
</template>

<script>
import Article from "./Article.vue";
export default {
  components:{
    Article
  },
 data(){
  return {
    age:15
  }
 }
}
</script>

<style lang="less">
.left-container {
  padding: 0 20px 20px;
  background-color: orange;
  min-height: 250px;
  flex: 1;
}
</style>
